package com.guangzhi.weijianzhi.entity;

import java.util.ArrayList;

public class BeansCity {
	
	private String id;
	private String name;
	private ArrayList<BeansDistrict> districts;
	
	
	
	
	
	public BeansCity() {
		super();
	}
	public BeansCity(String id, String name, ArrayList<BeansDistrict> districts) {
		super();
		this.id = id;
		this.name = name;
		this.districts = districts;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public ArrayList<BeansDistrict> getDistricts() {
		return districts;
	}
	public void setDistricts(ArrayList<BeansDistrict> districts) {
		this.districts = districts;
	}
	@Override
	public String toString() {
		return name;
	}
	
	
	
	
}
